package com.ruoyi.web.controller.qiandao;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.common.utils.SecurityUtils;
import com.ruoyi.paiban.domain.Paibanbiao;
import com.ruoyi.paiban.service.IPaibanbiaoService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Date;

@Api(tags = "签到管理")
@RestController
@RequestMapping("/system/qiandao")
public class QiandaoController {

    @Resource
    private IPaibanbiaoService paibanbiaoService;

    @ApiOperation(value = "签到")
    @PostMapping
    public AjaxResult qiandao(){
        paibanbiaoService.qiandao();
        return AjaxResult.success("签到成功");
    }

}
